package com.xk.po;

public class Teacher {
    private Integer tid;
    private String tname;
    private Integer age;
    private Integer cid;

    @Override
    public String toString() {
        return  "\n老师编号：" + this.tid +
                "\n老师名称：" + this.tname +
                "\n老师年龄:" + this.age +
                "\n教授课程id:" + this.cid;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }
}
